IoT Greengrass
💡 Definition
AWS IoT Greengrass is an open-source edge runtime and cloud service for building, deploying, and managing device software. It extends AWS functionality to the edge.
🔑 Key Concepts
- Compute at the Edge: Allows devices to act locally on the data they generate, while still using the cloud for management, analytics, and durable storage.
- Local Execution: Run Lambda functions and Docker containers on the device itself.
- Local Messaging: Allows devices to communicate with each other on a local network even without internet connectivity.
⚙️ How it Works
You install the Greengrass Core software on your edge device (e.g., a gateway or Raspberry Pi). You define groups of devices and the software (Lambda functions) you want to run on them. AWS IoT Greengrass deploys the code to the devices.
🎯 Use Cases
- Low Latency: Processing data immediately on the device (e.g., emergency braking in a car).
- Intermittent Connectivity: Devices that need to work when the internet is down.
- Data Privacy: Processing sensitive data locally before sending only aggregated insights to the cloud.
💰 Pricing Model
- Active Core: Charged per active Greengrass Core device per month.
📝 Exam Tips (CLF-C02)
- "Compute at the Edge".
- "Process data locally".
- Runs Lambda functions on the device.
See Also: * IoT Core * Lambda * Outposts (also edge compute, but much larger scale)